import { Suspense } from 'react'
import {createBrowserRouter,RouterProvider} from 'react-router-dom'
import router from './router'
function App() {
  return (
    <>
      <Suspense fallback={<div>Loading...</div>}>
        <RouterProvider router={createBrowserRouter(router)} />
        </Suspense>
    </>
  )
}

export default App
